import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Student stu1=new Student();
        Scanner scan=new Scanner(System.in);
        String name1=scan.next();
        stu1.setName(name1);
        double score1= scan.nextDouble();
        stu1.setScore(score1);

        String name2=scan.next();
        double score2= scan.nextDouble();
        Student stu2=new Student(name2,score2);

        System.out.printf("stu1: name=%s,score=%.1f\n",stu1.getName(),stu1.getScore());
        System.out.printf("stu2: name=%s,score=%.1f\n",stu2.getName(),stu2.getScore());

    }
}

class Student{
    private String name;
    private double score;

    public Student(){
    }
    public Student(String name,double score){
        this.name=name;
        this.score=score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
